package com.sm.tool.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel
@Builder
public class UserTicketsVO {

    @ApiModelProperty(value = "优惠卷名称",example = "中秋好礼券")
    private String ticketName;

    @ApiModelProperty(value = "优惠卷代码",example = "kdasd123xjh13sa1")
    private String ticketCode;

    @ApiModelProperty(value = "0:满减券,1:折扣券,1:立减券",example = "1")
    private Integer type;

    @ApiModelProperty(value = "有效期（30,表示领取30后过期。0表示不限制）",example = "30")
    private Integer termOfValidity;

    @ApiModelProperty(value = "使用说明",example = "这是使用说明")
    private String explains;

    @ApiModelProperty(value = "满50减20（50,20）",example = "50，20")
    private String fullRed;

    @ApiModelProperty(value = "折扣",example = "8")
    private BigDecimal discount;
    @ApiModelProperty(value = "立减",example = "20")
    private Integer verticalReduction;

    @ApiModelProperty(value = "优惠卷状态，0 未使用，1已过期，2已使用",example = "1")
    private int status;

}
